package com.cxs.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Project: wechat-push
 * @Author: cxs2014501@163.com
 * @Create: 2023/9/7 11:32
 * @Description:
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result {
    private Integer code;

    private String msg;

    private Object data;

    public static Result ok(Integer code, String msg, Object data){
        return new Result(code, msg, data);
    }
}
